Skip to content

Instantly share code, notes, and snippets.

@marketinview
Last active September 11, 2023 05:55
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marketinview/3359eee6d25399216f0f to your computer and use it in GitHub Desktop.
Save marketinview/3359eee6d25399216f0f to your computer and use it in GitHub Desktop.
Qualtrics: Adjust Constant Sum Input Text Widths. Change "75px" as needed. #qualtrics #js #jq #csum #input #text #width
Qualtrics.SurveyEngine.addOnload(function() {
var inputWidth = "75px";
var q = jQuery("#"+this.questionId);
q.find('.SumInput').css("width", inputWidth);
q.find('.SumTotal').css("width", inputWidth);
q.find('.InputText').css("width", inputWidth);
});
@marketinview
Copy link
Author

marketinview commented Nov 14, 2017

See additional Qualtrics solutions at: https://qualtricswiki.tgibbons.com/doku.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment